package ltd.hxya.novel.admin.mapper;

import ltd.hxya.novel.admin.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hty
 * @since 2022-10-04
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    Role roleByUserId(Integer userId);
}
